//
//  YTPopoverViewCell.h
//  YiTuUserClient
//
//  Created by 石少庸 on 2017/4/11.
//  Copyright © 2017年 YiTu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YTPopoverAction.h"

UIKIT_EXTERN float const YTPopoverViewCellHorizontalMargin; ///< 水平间距边距
UIKIT_EXTERN float const YTPopoverViewCellVerticalMargin; ///< 垂直边距
UIKIT_EXTERN float const YTPopoverViewCellTitleLeftEdge; ///< 标题左边边距

@class PopoverAction;

@interface YTPopoverViewCell : UITableViewCell

@property (nonatomic, assign) YTPopoverViewStyle style;

/**
 标题字体

 @return UIFont
 */
+ (UIFont *)titleFont;

/**
 底部线条颜色

 @param style YTPopoverViewStyle
 @return UIColor
 */
+ (UIColor *)bottomLineColorForStyle:(YTPopoverViewStyle)style;

/**
 设置action

 @param action YTPopoverAction
 */
- (void)setAction:(YTPopoverAction *)action;

/**
 是否显示底部线条

 @param show bool
 */
- (void)showBottomLine:(BOOL)show;

@end
